<div id="boxForm">
    <form action="/login" method="post">
        <input class="put1" type="text" placeholder="用户名" name="name" required><br>
                  <span class="spai"></span>
        <span class="sa">
                  <input class="put2" type="password" placeholder="密码" name="password" required><br>
                 <span class="spai spai1"></span>
        </span>
        <input type="submit" class="but1" value="登录">
        <button class="but2"><a href="reg">注册</a></button><br>
    </form>
</div>